package com.goods.business.service;

import com.goods.common.model.business.ParamModel2;
import com.goods.common.model.business.ParamModel3;
import com.goods.common.vo.business.ProductStockVO;
import com.goods.common.vo.business.ProductVO;
import com.goods.common.vo.system.PageVO;

import java.util.List;

/**
 * @Author: 赵勇镔
 * @Time: 2021/6/8 15:40
 * @Description:
 */
public interface ProductService {

    PageVO<ProductVO> findProductList(Integer pageNum, Integer pageSize, ParamModel2 paramModel2);

    void add(ProductVO productVO);

    ProductVO edit(Long id);

    void update(Long id,ProductVO productVO);

    void remove(Long id);

    void back(Long id);

    void delete(Long id);

    void publish(Long id);
    List<ProductStockVO> findAllStocks(ParamModel3 paramModel3);
    PageVO<ProductStockVO>  findProductStocks(ParamModel3 paramModel3);
}
